package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/27
*/
@Data
@ApiModel("问诊使用aia配套时，如果此时aia服务挂掉，记录一条数据")
@Table(name = "tbl_booking_aia_downtime")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingAiaDowntime extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    @Column(name = "member_id")
    private String memberId;

    @Column(name = "child_id")
    private String childId;

    /**
     * 1:GP 2:mental_wellness 3:peadiatrician 4:supervised_art(废弃) 5:hbhs(貌似没用到) 6:pre_departure_test(废弃) 7:obstetrics_and_gynaecology
     */
    @Column(name = "service_type")
    @ApiModelProperty("1:GP 2:mental_wellness 3:peadiatrician 4:supervised_art(废弃) 5:hbhs(貌似没用到) 6:pre_departure_test(废弃) 7:obstetrics_and_gynaecology")
    private Integer serviceType;

    @Column(name = "booking_created_on")
    private Date bookingCreatedOn;

    @Column(name = "booking_created_on_utc")
    private Date bookingCreatedOnUtc;
}